package com.speily.observer;

/**
 * @Auther: SPL
 * @Date: 2019-07-03 14:46
 * @Description:
 */
public class ObserverJack implements Observer{
    @Override
    public String getName() {
        return "Jack";
    }

    @Override
    public void update(String msg) {
        System.out.println("Jack收到通知：" + msg);
    }
}
